﻿using System;
using Interfaces.Models;
using Interfaces.Validation;

namespace Interfaces.BusinessLogic
{
    public interface ISessionOperationService
    {
        ISession Create(IUser user);
        ISession GetActiveSession(Guid userId);
        ISession GetSession(Guid sessionId);
        void Remove(Guid sessionId);
        void LastActivity(Guid sessionId);
        IValidationResult Validate(ISession session);
    }
}
